package com.appspot.categoryeditor.jersey;

import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.core.Application;

import com.appspot.categoryeditor.TestDataResource;
import com.appspot.categoryeditor.resource.CategoriesResourceImpl;

public class CategoryApplication extends Application{

    private Set<Object> singletons = new HashSet<Object>();
    private Set<Class<?>> requests = new HashSet<Class<?>>();
    
    
    public CategoryApplication(){
//        singletons.add(new UserResource());
        requests.add(TestDataResource.class);
        requests.add(CategoriesResourceImpl.class);

    }

    @Override
    public Set<Class<?>> getClasses() {
        return requests;
    }

    @Override
    public Set<Object> getSingletons() {
        return singletons;
    }
    
    
    
}
